/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DBLayer;

import ModelLayer.Costumer;
import ModelLayer.SalesOrder;
import java.util.ArrayList;

/**
 *
 * @author Sharif
 */
public interface IFDBSalesOrder {

    int delete(int id);

    ArrayList<SalesOrder> findByDeliveryStatus(int deliveryStatus, boolean retriveAssociation);

    SalesOrder findSalesOrder(int id, boolean retriveAssociation);

    ArrayList getAllSalesOrders(boolean retriveAssociation);

    int insertSalesOrder(SalesOrder emp);

    int updateSalesOrder(SalesOrder emp);

}
